Class KerberosKeyCallback
- java.lang.Object
-
- com.sun.enterprise.security.jauth.callback.KerberosKeyCallback
-
-
Constructor Summary
Constructors Constructor Description KerberosKeyCallback(KerberosPrincipal owner)Constructs this KerberosSubjectCallback with a KerberosPrincipal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KerberosKeygetKey()Get the requested Kerberos key.KerberosPrincipalgetOwner()Get the owner.voidsetKey(KerberosKey key)Set the requested Kerberos key.
-
-
-
Constructor Detail
-
KerberosKeyCallback
public KerberosKeyCallback(KerberosPrincipal owner)
Constructs this KerberosSubjectCallback with a KerberosPrincipal.The owner input parameter specifies the owner of the KerberosKey to be returned.
- Parameters:
owner- the owner of the KerberosKey to be returned
-
-
Method Detail
-
getOwner
public KerberosPrincipal getOwner()
Get the owner.- Returns:
- the owner
-
setKey
public void setKey(KerberosKey key)
Set the requested Kerberos key.- Parameters:
key- the Kerberos key
-
getKey
public KerberosKey getKey()
Get the requested Kerberos key.- Returns:
- the Kerberos key
-
-