public interface ServerSecurityManager
Modifier and Type | Method and Description |
---|---|
void |
authenticate() |
void |
authenticate(String runAs,
String runAsPrincipal,
Set<String> extraRoles) |
boolean |
authorize(String ejbName,
CodeSource ejbCodeSource,
String ejbMethodIntf,
Method ejbMethod,
Set<Principal> methodRoles,
String contextID) |
Principal |
getCallerPrincipal() |
Subject |
getSubject() |
boolean |
isCallerInRole(String ejbName,
Object mappedRoles,
Map<String,Collection<String>> roleLinks,
String... roleNames)
Deprecated.
|
boolean |
isCallerInRole(String ejbName,
String policyContextId,
Object mappedRoles,
Map<String,Collection<String>> roleLinks,
String... roleNames) |
void |
pop() |
void |
push(String securityDomain) |
void |
push(String securityDomain,
String userName,
char[] password,
Subject subject) |
void push(String securityDomain)
void authenticate()
void pop()
Principal getCallerPrincipal()
Subject getSubject()
@Deprecated boolean isCallerInRole(String ejbName, Object mappedRoles, Map<String,Collection<String>> roleLinks, String... roleNames)
boolean isCallerInRole(String ejbName, String policyContextId, Object mappedRoles, Map<String,Collection<String>> roleLinks, String... roleNames)
Copyright © 2023 JBoss by Red Hat. All rights reserved.