com.ibm.security.jgss.mech.krb5
Class AuthZInfo
- java.lang.Object
com.ibm.security.jgss.mech.krb5.AuthZInfo
- public abstract class AuthZInfo
- extends java.lang.Object
This class examines a property,
com.ibm.security.jgss.mech.krb5.AuthZCacheClass
to see if a cache classname has been specified.
If no classname has been specified, no caching will be done.
If a class has been specified, then
this cache class will have to be a subclass of AuthZInfo,
and will need to be found through the system
ClassLoader. Since we are using the system ClassLoader,
caches in the classpath could be used, but we strongly recommend
that they be in extensions or the boot classpath.
Constructor Summary
Constructor and Description |
---|
AuthZInfo()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
get(java.lang.Object key)
Lookup and return the value stored for this key
|
|
getReference()
Return an instance of an AuthZInfo cache object.
|
|
put(java.lang.Object key,java.lang.Object value)
Insert a new value for a particular key
|
|
releaseReference()
Release the handle to the authorization data cache
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
AuthZInfo
- public AuthZInfo()
Method Detail
getReference
- public static AuthZInfo getReference( )
Return an instance of an AuthZInfo cache object.
If necessary, this could involve construction of a new cache.
Returns:
an instance of an AuthZInfo object.
get
- public abstract java.lang.Object get( java.lang.Object key)
Lookup and return the value stored for this key
Parameters:
key
- The key object used on the put. In this version,
this is an org.ietf.jgss.GSSContext object. Returns:
the value stored for this key, or
null
if no value was found for this key. put
- public abstract java.lang.Object put( java.lang.Object key,
- java.lang.Object value)
Insert a new value for a particular key
Parameters:
key
- The object that will map to the value.
In this version of the code, the key is an org.ietf.jgss.GSSContext. value
- The value that the key will map to. In this version
of the code, this will be the body of the DER tag 0xaa. Returns:
the previous value for this key, or null.
releaseReference
- public abstract void releaseReference( )
Release the handle to the authorization data cache