|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.security.auth.message.callback.DistinguishedPrincipalCallback
public class DistinguishedPrincipalCallback
Callback for setting the container?s caller (or Remote user) principal.
Constructor Summary | |
---|---|
DistinguishedPrincipalCallback(Subject subject,
Principal principal)
Create a new DistinguishedPrincipalCallback. |
Method Summary | |
---|---|
Principal |
getPrincipal()
Get the principal. |
Subject |
getSubject()
Get the Subject. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistinguishedPrincipalCallback(Subject subject, Principal principal)
subject
- the Subject in which the container will distinguish the principalprincipal
- the Principal that will be distinguished.Method Detail |
---|
public Principal getPrincipal()
public Subject getSubject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |