public class SimpleServerAuthContext extends Object implements ServerAuthContext
ServerAuthModule
implementations that only provide the module. This
implementation supports multiple modules and will treat the user as
authenticated if any one module is able to authenticate the user.Constructor and Description |
---|
SimpleServerAuthContext(List<ServerAuthModule> modules) |
Modifier and Type | Method and Description |
---|---|
void |
cleanSubject(MessageInfo messageInfo,
Subject subject) |
AuthStatus |
secureResponse(MessageInfo messageInfo,
Subject serviceSubject) |
AuthStatus |
validateRequest(MessageInfo messageInfo,
Subject clientSubject,
Subject serviceSubject) |
public SimpleServerAuthContext(List<ServerAuthModule> modules)
public AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws AuthException
validateRequest
in interface ServerAuth
AuthException
public AuthStatus secureResponse(MessageInfo messageInfo, Subject serviceSubject) throws AuthException
secureResponse
in interface ServerAuth
AuthException
public void cleanSubject(MessageInfo messageInfo, Subject subject) throws AuthException
cleanSubject
in interface ServerAuth
AuthException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.