public interface Principal
Principal
interface is used to describe a
user that has a name and password. This should not be
confused with the java.security.Principal
interface which does not provide getPassword
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The
getName method is used to retreive
the name of the principal. |
java.lang.String |
getPassword()
The
getPassword method is used to retrieve
the password of the principal. |
java.lang.String getPassword()
getPassword
method is used to retrieve
the password of the principal. This is the password
tag in the RFC 2616 Authorization credentials expression.java.lang.String getName()
getName
method is used to retreive
the name of the principal. This is the name tag in
the RFC 2616 Authorization credentials expression.