@Service public class ClusterSingleSignon extends java.lang.Object implements SingleSignon
Constructor and Description |
---|
ClusterSingleSignon() |
ClusterSingleSignon(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.security.Principal |
get(java.lang.String id)
Returns any saved single signon entry.
|
void |
init()
Initialize the single signon.
|
void |
put(java.lang.String id,
java.security.Principal user)
Adds a principal to the cache
|
boolean |
remove(java.lang.String id)
Removes a principal from the single-signon
|
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
public ClusterSingleSignon()
public ClusterSingleSignon(java.lang.String name)
public void setName(java.lang.String name)
@PostConstruct public void init()
public java.security.Principal get(java.lang.String id)
get
in interface SingleSignon
public void put(java.lang.String id, java.security.Principal user)
put
in interface SingleSignon
public boolean remove(java.lang.String id)
remove
in interface SingleSignon
public java.lang.String toString()
toString
in class java.lang.Object