| |
|
| java.lang.Object com.ecyrd.jspwiki.auth.login.PrincipalWrapper
PrincipalWrapper | final public class PrincipalWrapper implements Principal(Code) | | Wrapper class for container-managed or externally-provided principals.
Instances of PrincipalWrapper are immutable.
author: Andrew Jaquith since: 2.3 |
Constructor Summary | |
public | PrincipalWrapper(Principal principal) Constructs a new instance of this class by wrapping (decorating)
the supplied principal. |
Method Summary | |
public boolean | equals(Object obj) Two PrincipalWrapper objects are equal if their internally-wrapped
principals are also equal. | final public String | getName() Returns the name of the wrapped principal. | final public Principal | getPrincipal() Returns the wrapped Principal used to construct this instance. | public int | hashCode() |
PrincipalWrapper | public PrincipalWrapper(Principal principal)(Code) | | Constructs a new instance of this class by wrapping (decorating)
the supplied principal.
Parameters: principal - |
equals | public boolean equals(Object obj)(Code) | | Two PrincipalWrapper objects are equal if their internally-wrapped
principals are also equal.
|
getName | final public String getName()(Code) | | Returns the name of the wrapped principal.
|
getPrincipal | final public Principal getPrincipal()(Code) | | Returns the wrapped Principal used to construct this instance.
the wrapped Principal decorated by this instance. |
hashCode | public int hashCode()(Code) | | |
|
|
|