Last active
October 5, 2016 15:02
-
-
Save deluan/655983 to your computer and use it in GitHub Desktop.
Adding shiro-faces taglib to your maven project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>org.apache.shiro</groupId> | |
<artifactId>shiro-faces</artifactId> | |
<!-- See the latest version on the project's homepage --> | |
<version>2.0</version> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<repositories> | |
<repository> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
<id>bintray-deluan-maven</id> | |
<name>bintray</name> | |
<url>http://dl.bintray.com/deluan/maven</url> | |
</repository> | |
</repositories> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" | |
xmlns:ui="http://java.sun.com/jsf/facelets" | |
xmlns:shiro="http://shiro.apache.org/tags"> | |
<head> | |
<title><ui:insert name="titulo">Shiro Faces Test</ui:insert></title> | |
</head> | |
<body> | |
<p>Hi, <shiro:guest>Guest</shiro:guest> | |
<shiro:user><shiro:principal/></shiro:user>! | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment