org.gcube.common.core.security.context.impl
Class DefaultGHNClientSecurityContext
java.lang.Object
org.gcube.common.core.security.context.impl.DefaultGHNSecurityContext
org.gcube.common.core.security.context.impl.DefaultGHNClientSecurityContext
- All Implemented Interfaces:
- SecurityContext
public class DefaultGHNClientSecurityContext
- extends DefaultGHNSecurityContext
A context that manages all the security related operations
- Author:
- Ciro Formisano
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGHNClientSecurityContext
public DefaultGHNClientSecurityContext()
getDefaultSubject
public Subject getDefaultSubject()
- Description copied from interface:
SecurityContext
- Provides the subject of the related container
- Returns:
- the subject containing the container credentials
getDefaultCredentials
public GSSCredential getDefaultCredentials()
- Description copied from interface:
SecurityContext
- Gets the container credentials if exists
- Returns:
- the container credentials
getDefaultSecurityManager
public GCUBESecurityManager getDefaultSecurityManager()
throws Exception
- Description copied from interface:
SecurityContext
- Utility method to generate a default security manager based on implementations.properties
- Returns:
- the Security Manager instance
- Throws:
Exception - if something goes wrong
Copyright © 2012. All Rights Reserved.