|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.user.SubjectAuthenticator
public class SubjectAuthenticator
This class is used to marshal the contents of a Subject across a remote link to a UserService in order to create a UserContext based on the contents of the Subject.
Method Summary | |
---|---|
static UserContextInterface |
newAuthenticatedUser(UserServiceInterface userService,
javax.security.auth.Subject subject)
Create a UserContext from an already authenticated Subject. |
static UserContextInterface |
newAuthenticatedUser(UserServiceInterface userService,
javax.security.auth.Subject subject,
java.util.Map advancedOptions)
Create a UserContext from an already authenticated Subject. |
Method Detail |
---|
public static UserContextInterface newAuthenticatedUser(UserServiceInterface userService, javax.security.auth.Subject subject) throws ServiceException, UserInitializationException, java.rmi.RemoteException
userService
- The UserService to use to create the new UserContext. This
will normally be a remote service.subject
- The authenticated Subject to pass to the remote User Service to
initialize a UserContext from.
UserInitializationException
- if a potentially recoverable error occurs
during UserContext initialization.
ServiceException
- If an error occurs during user initialization.
java.rmi.RemoteException
- In the event of remote object failure.public static UserContextInterface newAuthenticatedUser(UserServiceInterface userService, javax.security.auth.Subject subject, java.util.Map advancedOptions) throws ServiceException, UserInitializationException, java.rmi.RemoteException
userService
- The UserService to use to create the new UserContext. This
will normally be a remote service.subject
- The authenticated Subject to pass to the remote User Service to
initialize a UserContext from.advancedOptions
- MapUserInitializationException
- if a potentially recoverable error occurs
during UserContext initialization.
ServiceException
- If an error occurs during user initialization.
java.rmi.RemoteException
- In the event of remote object failure.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |