org.apache.karaf.webconsole
Class JaasSecurityProvider
java.lang.Object
org.apache.karaf.webconsole.JaasSecurityProvider
- All Implemented Interfaces:
- org.apache.felix.webconsole.WebConsoleSecurityProvider, org.apache.felix.webconsole.WebConsoleSecurityProvider2
public class JaasSecurityProvider
- extends java.lang.Object
- implements org.apache.felix.webconsole.WebConsoleSecurityProvider2
Fields inherited from interface org.apache.felix.webconsole.WebConsoleSecurityProvider2 |
USER_ATTRIBUTE |
Method Summary |
boolean |
authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
java.lang.Object |
authenticate(java.lang.String username,
java.lang.String password)
|
boolean |
authorize(java.lang.Object o,
java.lang.String s)
|
javax.security.auth.Subject |
doAuthenticate(java.lang.String username,
java.lang.String password)
|
java.lang.String |
getRealm()
|
java.lang.String |
getRole()
|
void |
setRealm(java.lang.String realm)
|
void |
setRole(java.lang.String role)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaasSecurityProvider
public JaasSecurityProvider()
getRealm
public java.lang.String getRealm()
setRealm
public void setRealm(java.lang.String realm)
getRole
public java.lang.String getRole()
setRole
public void setRole(java.lang.String role)
authenticate
public java.lang.Object authenticate(java.lang.String username,
java.lang.String password)
- Specified by:
authenticate
in interface org.apache.felix.webconsole.WebConsoleSecurityProvider
doAuthenticate
public javax.security.auth.Subject doAuthenticate(java.lang.String username,
java.lang.String password)
authorize
public boolean authorize(java.lang.Object o,
java.lang.String s)
- Specified by:
authorize
in interface org.apache.felix.webconsole.WebConsoleSecurityProvider
authenticate
public boolean authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Specified by:
authenticate
in interface org.apache.felix.webconsole.WebConsoleSecurityProvider2
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.