Java Globus API: Class SelfAuthorization
org.globus.security.auth
Class SelfAuthorization
java.lang.Object
|
+--org.globus.security.auth.IdentityAuthorization
|
+--org.globus.security.auth.SelfAuthorization
- All Implemented Interfaces:
- Authorization
- public class SelfAuthorization
- extends IdentityAuthorization
Performs the identity authorization check. The identity
is obtained from specified Globus credentials.
|
Constructor Summary |
SelfAuthorization()
Creates a new instance of this class initialized
with default Globus credentials. |
SelfAuthorization(GlobusProxy credentials)
Creates a new instance of this class initialized with
specific Globus credentials. |
|
Method Summary |
protected java.lang.String |
getName()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelfAuthorization
public SelfAuthorization()
throws GlobusProxyException
- Creates a new instance of this class initialized
with default Globus credentials.
- Throws:
GlobusProxyException - if the default
user proxy failed to load.
SelfAuthorization
public SelfAuthorization(GlobusProxy credentials)
- Creates a new instance of this class initialized with
specific Globus credentials.
- Parameters:
credentials - the credentials for the identity.
getName
protected java.lang.String getName()
- Overrides:
getName in class IdentityAuthorization