Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Realm className="org.apache.catalina.realm.JAASRealm"
- appName="TomcatTimedLogin"
- userClassName="com.tagish.auth.TypedPrincipal"
- roleClassNames="org.ovasp.java.jaas.RolePrincipal" />
- TomcatTimedLogin
- {
- org.owasp.java.jaas.TomcatTimedLogin required
- useDS=true
- dsJNDI="jdbc/resourceName"
- dbDriver="com.microsoft.sqlserver.jdbc.SQLServerDriver"
- dbURL="jdbc:sqlserver://server\DBSERVER;databaseName=DBName"
- dbUser="username"
- dbPassword="password"
- debug=true
- loginTable="loginTable"
- clippingLevel="3"
- interval="10"
- loginQuery="SELECT UserID,Password FROM Users WHERE LogonUserName=? AND RetirementDate is null"
- rolesQuery="SELECT Role.RoleDescription FROM User_Role,Role WHERE User_Role.UserID=? AND User_Role.RoleID=Role.RoleID";
- };
- java.security.auth.login.config=file:///C:/config/login.config
- SEVERE: Class org.ovasp.java.jaas.RolePrincipal not found! Class not added.
- org.ovasp.java.jaas.RolePrincipal
- org.owasp.java.jaas.RolePrincipal
Add Comment
Please, Sign In to add comment