|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.security.MemorySingleSignon
@Service public class MemorySingleSignon
Memory-based cache for single-signon.
| Constructor Summary | |
|---|---|
MemorySingleSignon()
|
|
| Method Summary | |
|---|---|
java.security.Principal |
get(java.lang.String id)
Returns any saved single signon entry. |
int |
getCacheSize()
Returns the size of the principal cache. |
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)
Adds a principal to the cache |
void |
setCacheSize(int size)
Sets the size of the principal cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemorySingleSignon()
| Method Detail |
|---|
public int getCacheSize()
public void setCacheSize(int size)
@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 SingleSignonpublic boolean remove(java.lang.String id)
remove in interface SingleSignon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||