Package org.eclipse.jetty.security
Class AbstractLoginService.UserPrincipal
- java.lang.Object
-
- org.eclipse.jetty.security.AbstractLoginService.UserPrincipal
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Principal
- Direct Known Subclasses:
JDBCLoginService.JDBCUserPrincipal
- Enclosing class:
- AbstractLoginService
@Deprecated(since="2021-05-27") public static class AbstractLoginService.UserPrincipal extends java.lang.Object implements java.security.Principal, java.io.Serializable
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.UserPrincipal- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserPrincipal(java.lang.String name, Credential credential)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
authenticate(java.lang.Object credentials)
Deprecated.boolean
authenticate(Credential c)
Deprecated.java.lang.String
getName()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
UserPrincipal
public UserPrincipal(java.lang.String name, Credential credential)
Deprecated.
-
-
Method Detail
-
authenticate
public boolean authenticate(java.lang.Object credentials)
Deprecated.
-
authenticate
public boolean authenticate(Credential c)
Deprecated.
-
getName
public java.lang.String getName()
Deprecated.- Specified by:
getName
in interfacejava.security.Principal
-
toString
public java.lang.String toString()
Deprecated.- Specified by:
toString
in interfacejava.security.Principal
- Overrides:
toString
in classjava.lang.Object
-
-