org.gcube.common.core.security.context
Interface SecurityContext

All Known Implementing Classes:
DefaultGHNClientSecurityContext, DefaultGHNSecurityContext, DefaultGHNServerSecurityContext

public interface SecurityContext


Field Summary
static String DEFAULT_SECURITY_CONFIGURATION
          Default Security Configuration option name.
 
Method Summary
 GCUBECredentialAdder getCredentialsAdder()
          gets a simple security manager that adds the credentials to the request
 GSSCredential getDefaultCredentials()
          Gets the container credentials if exists
 org.globus.wsrf.impl.security.descriptor.ServiceSecurityDescriptor getDefaultIncomingMessagesSecurityDescriptor()
          provides the incoming service security descriptor
 org.globus.wsrf.impl.security.descriptor.ServiceSecurityDescriptor getDefaultOutgoingMessagesSecurityDescriptor()
          provides the outgoing service security descriptor
 GCUBESecurityManager getDefaultSecurityManager()
          Utility method to generate a default security manager based on implementations.properties
 GCUBEDefaultSecurityConfiguration getDefaultServiceSecurityConfiguration()
          Returns an object able to build a default security configuration for the services
 Subject getDefaultSubject()
          Provides the subject of the related container
 

Field Detail

DEFAULT_SECURITY_CONFIGURATION

static final String DEFAULT_SECURITY_CONFIGURATION
Default Security Configuration option name.

See Also:
Constant Field Values
Method Detail

getDefaultServiceSecurityConfiguration

GCUBEDefaultSecurityConfiguration getDefaultServiceSecurityConfiguration()
Returns an object able to build a default security configuration for the services

Returns:
the default service security descriptor builder, null if not set

getDefaultIncomingMessagesSecurityDescriptor

org.globus.wsrf.impl.security.descriptor.ServiceSecurityDescriptor getDefaultIncomingMessagesSecurityDescriptor()
provides the incoming service security descriptor

Returns:
the incoming service security descriptor

getDefaultOutgoingMessagesSecurityDescriptor

org.globus.wsrf.impl.security.descriptor.ServiceSecurityDescriptor getDefaultOutgoingMessagesSecurityDescriptor()
provides the outgoing service security descriptor

Returns:
the outgoing service security descriptor

getDefaultSubject

Subject getDefaultSubject()
Provides the subject of the related container

Returns:
the subject containing the container credentials

getDefaultCredentials

GSSCredential getDefaultCredentials()
Gets the container credentials if exists

Returns:
the container credentials

getDefaultSecurityManager

GCUBESecurityManager getDefaultSecurityManager()
                                               throws Exception
Utility method to generate a default security manager based on implementations.properties

Returns:
the Security Manager instance
Throws:
Exception - if something goes wrong

getCredentialsAdder

GCUBECredentialAdder getCredentialsAdder()
gets a simple security manager that adds the credentials to the request

Returns:
the credential adder


Copyright © 2013. All Rights Reserved.