FileDocCategorySizeDatePackage
KerberosKeyCallback.javaAPI DocGlassfish v2 API3112Fri May 04 22:35:44 BST 2007com.sun.enterprise.security.jauth.callback

KerberosKeyCallback

public class KerberosKeyCallback extends Object implements Callback
Callback for Kerberos Key.
version
1.4, 03/03/04

Fields Summary
private KerberosPrincipal
owner
private KerberosKey
key
Constructors Summary
public KerberosKeyCallback(KerberosPrincipal owner)
Constructs this KerberosSubjectCallback with a KerberosPrincipal.

The owner input parameter specifies the owner of the KerberosKey to be returned.

param
owner the owner of the KerberosKey to be returned

	this.owner = owner;
    
Methods Summary
public javax.security.auth.kerberos.KerberosKeygetKey()
Get the requested Kerberos key.

return
the Kerberos key

	return key;
    
public javax.security.auth.kerberos.KerberosPrincipalgetOwner()
Get the owner.

return
the owner

	return owner;
    
public voidsetKey(javax.security.auth.kerberos.KerberosKey key)
Set the requested Kerberos key.

param
key the Kerberos key

	this.key = key;