|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.ri.sp.PseudoSecurityService
public class PseudoSecurityService
Constructor Summary | |
---|---|
PseudoSecurityService()
|
Method Summary | |
---|---|
void |
associate(Object securityIdentity)
Active |
Object |
disassociate()
Active |
Principal |
getCallerPrincipal()
Active |
Set<String> |
getLogicalRoles(Principal[] principals,
Set<String> logicalRoles)
|
void |
init(Properties props)
|
boolean |
isCallerAuthorized(Method method,
InterfaceType type)
Active |
boolean |
isCallerInRole(String role)
Active |
Object |
login(String user,
String pass)
|
Object |
login(String securityRealm,
String user,
String pass)
|
void |
logout(Object securityIdentity)
Active |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PseudoSecurityService()
Method Detail |
---|
public void init(Properties props)
init
in interface Service
public Object login(String user, String pass) throws LoginException
login
in interface SecurityService
LoginException
public Object login(String securityRealm, String user, String pass) throws LoginException
login
in interface SecurityService
LoginException
public Set<String> getLogicalRoles(Principal[] principals, Set<String> logicalRoles)
public void associate(Object securityIdentity) throws LoginException
SecurityService
associate
in interface SecurityService
LoginException
public Object disassociate()
SecurityService
disassociate
in interface SecurityService
public void logout(Object securityIdentity) throws LoginException
SecurityService
logout
in interface SecurityService
LoginException
public boolean isCallerInRole(String role)
SecurityService
isCallerInRole
in interface SecurityService
public Principal getCallerPrincipal()
SecurityService
getCallerPrincipal
in interface SecurityService
public boolean isCallerAuthorized(Method method, InterfaceType type)
SecurityService
isCallerAuthorized
in interface SecurityService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |