Interface CloneablePrincipal
-
- All Known Implementing Classes:
AuthenticationMethodPrincipal,AuthnContextClassRefPrincipal,AuthnContextDeclPrincipal,AuthnContextDeclRefPrincipal,DuoPrincipal,HOTPPrincipal,NameIdentifierPrincipal,NameIDPrincipal,PasswordPrincipal,TOTPPrincipal,UsernamePrincipal
public interface CloneablePrincipal extends Principal, Cloneable
Principal that can be cloned without knowledge of the underlying type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone()Creates and returns a copy of this object.
-
-
-
Method Detail
-
clone
Object clone() throws CloneNotSupportedException
Creates and returns a copy of this object.- Returns:
- a clone of this instance.
- Throws:
CloneNotSupportedException- if the instance cannot be cloned.- See Also:
Object.clone()
-
-