org.globus.wsrf.impl.security.authentication.secureconv.service
Class AuthenticationServiceImpl
java.lang.Object
org.globus.wsrf.impl.security.authentication.secureconv.service.AuthenticationServiceImpl
- All Implemented Interfaces:
- AuthenticationServiceConstants, java.rmi.Remote, SecureConversation
- public class AuthenticationServiceImpl
- extends java.lang.Object
- implements AuthenticationServiceConstants, SecureConversation
This is used by the services to establish a security context. This class must
be thread-safe. And must assume stateless for contexts because can have
multiple active contexts.
|
Field Summary |
private static org.globus.util.I18n |
i18n
|
(package private) static org.apache.commons.logging.Log |
logger
|
(package private) static org.apache.commons.logging.Log |
sysLogger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
static org.apache.commons.logging.Log logger
sysLogger
static org.apache.commons.logging.Log sysLogger
i18n
private static org.globus.util.I18n i18n
AuthenticationServiceImpl
public AuthenticationServiceImpl()
getCredential
protected org.ietf.jgss.GSSCredential getCredential(java.lang.String servicePath,
Resource resource)
throws SecurityException
- Throws:
SecurityException
getTargetService
private java.lang.String getTargetService()
getTargetResource
private Resource getTargetResource(java.lang.String servicePath)
throws SecurityException
- Throws:
SecurityException
requestSecurityTokenResponse
public void requestSecurityTokenResponse(RequestSecurityTokenResponseTypeHolder response)
throws java.rmi.RemoteException,
MalformedMessageFaultType,
InvalidContextIdFaultType,
TokenTypeNotSupportedFaultType,
ValueTypeNotSupportedFaultType,
EncodingTypeNotSupportedFaultType,
BinaryExchangeFaultType,
RequestTypeNotSupportedFaultType
- Specified by:
requestSecurityTokenResponse in interface SecureConversation
- Throws:
java.rmi.RemoteException
MalformedMessageFaultType
InvalidContextIdFaultType
TokenTypeNotSupportedFaultType
ValueTypeNotSupportedFaultType
EncodingTypeNotSupportedFaultType
BinaryExchangeFaultType
RequestTypeNotSupportedFaultType
createSecurityContextToken
private SecurityContextTokenType createSecurityContextToken(org.apache.axis.types.URI contextId,
ResourceContext ctx,
SimpleResourceKey key)
throws java.lang.Exception
- Throws:
java.lang.Exception
requestSecurityToken
public RequestSecurityTokenResponseType requestSecurityToken(RequestSecurityTokenType request)
throws java.rmi.RemoteException,
MalformedMessageFaultType,
TokenTypeNotSupportedFaultType,
ValueTypeNotSupportedFaultType,
EncodingTypeNotSupportedFaultType,
BinaryExchangeFaultType,
RequestTypeNotSupportedFaultType
- Specified by:
requestSecurityToken in interface SecureConversation
- Throws:
java.rmi.RemoteException
MalformedMessageFaultType
TokenTypeNotSupportedFaultType
ValueTypeNotSupportedFaultType
EncodingTypeNotSupportedFaultType
BinaryExchangeFaultType
RequestTypeNotSupportedFaultType