|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.security.krb5.KerberosTokenConsumer
public class KerberosTokenConsumer
DOCUMENT ME!
Field Summary | |
---|---|
static Oid |
MECH_TYPE_KRB5
We only support the KRB5 mech. |
Constructor Summary | |
---|---|
KerberosTokenConsumer()
Creates a new KerberosTokenConsumer object. |
Method Summary | |
---|---|
void |
init(java.util.Map config)
Inializes the KerberosTokenConsumer with a Map set of objects listed: SERVICE_KEYTAB = Kerberos KeyTab that contains the Servers Credentials SUBJECT= Input JAAS Subject that may or may not contain credentials ENCODING = JVM Character encoding(Default UTF-8) BASE64_TOKEN = byte[] of the Base64 encoded input Token DECODED_TOKEN = byte[] of the decoded input Token STRING_TOKEN = String of the Base64 encoded input Token SERVICE_NAME = String principal Name of the Service SERVICEPASSWORD = String Service password, required is using JAAS REALM_NAME = String REALM name LOGINCONF = JAAS Login Configuration File URL |
void |
invoke(java.util.Map context)
|
void |
setUseSubjectCreds(boolean setUseSubjectCreds)
Forces the context to use the provided subject for the credentials |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Oid MECH_TYPE_KRB5
Constructor Detail |
---|
public KerberosTokenConsumer()
Method Detail |
---|
public void init(java.util.Map config) throws java.lang.Exception
config
- including the objects listed.
java.lang.Exception
public void invoke(java.util.Map context) throws java.lang.Exception
context
- Map context will contain the object within this class after a successful invocation.
java.lang.IllegalStateException
java.lang.Exception
public void setUseSubjectCreds(boolean setUseSubjectCreds)
setUseSubjectCreds
- Boolean default equals false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |