public class ServletPrincipal extends Object implements Principal, Serializable
| 构造器和说明 |
|---|
ServletPrincipal(String name,
String password) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object object)
Compares this principal to the specified object.
|
String |
getName()
Returns the name of this principal.
|
String |
getPassword() |
int |
hashCode()
Returns a hash code for this principal.
|
String |
toString()
Returns a string representation of this principal.
|
Copyright © 2021. All rights reserved.