|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.security.authentication.ExternalProvidedSubjectCredential
public class ExternalProvidedSubjectCredential
Class ExternalProvidedSubjectCredential is used to transport an external subject through some interface boarders, where only a credential interface is provided.
One case to imagine is in soap service environments where an external module verifies the real credentials and creates an subject by self. Than with this class the created subject can be transported and be used within the AuthenticationService to transform it by login modules in a new subject.
Field Summary | |
---|---|
static java.lang.String |
KEY_EXTERNAL_SUBJECT
Uuse this key to communicate in attriubte scopes about a external subject. |
Constructor Summary | |
---|---|
ExternalProvidedSubjectCredential(javax.security.auth.Subject subject)
Constructor creates a new instance. |
Method Summary | |
---|---|
javax.security.auth.Subject |
getSubject()
Method gets the subject. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KEY_EXTERNAL_SUBJECT
Constructor Detail |
---|
public ExternalProvidedSubjectCredential(javax.security.auth.Subject subject)
subject
- the subject.Method Detail |
---|
public javax.security.auth.Subject getSubject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |