jetbrains.buildServer.serverSide.auth
Class ServerPrincipal
java.lang.Object
jetbrains.buildServer.serverSide.auth.ServerPrincipal
- All Implemented Interfaces:
- java.security.Principal
public class ServerPrincipal
- extends java.lang.Object
- implements java.security.Principal
Represents authenticated user. User must have name and optionally can have a realm where this user was authenticated.
For example, if user authenticated within a MS Windows domain, the name of this domain can be represented as realm.
|
Constructor Summary |
ServerPrincipal(java.lang.String realm,
java.lang.String name)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
equals, hashCode, toString |
ServerPrincipal
public ServerPrincipal(java.lang.String realm,
@NotNull
java.lang.String name)
getName
@NotNull
public java.lang.String getName()
- Specified by:
getName in interface java.security.Principal
getRealm
public java.lang.String getRealm()