Home » openjdk-7 » javax.security » auth » message » callback » [javadoc | source]
javax.security.auth.message.callback
public class: DistinguishedPrincipalCallback [javadoc | source]
java.lang.Object
   javax.security.auth.message.callback.DistinguishedPrincipalCallback

All Implemented Interfaces:
    Callback

Callback for setting the container�s caller (or Remote user) principal.
Constructor:
 public DistinguishedPrincipalCallback(Subject subject,
    Principal principal) 
    Create a new DistinguishedPrincipalCallback.
    Parameters:
    subject - the Subject in which the container will distinguish the principal
    principal - the Principal that will be distinguished.
Method from javax.security.auth.message.callback.DistinguishedPrincipalCallback Summary:
getPrincipal,   getSubject
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.security.auth.message.callback.DistinguishedPrincipalCallback Detail:
 public Principal getPrincipal() 
    Get the principal.
 public Subject getSubject() 
    Get the Subject.