|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.services.Authentication
public class Authentication
Attempts to authenticate a user and retrieve attributes associated with the user.
| Field Summary | |
|---|---|
protected ISecurityContext |
ic
|
static MovingAverageSample |
lastAuthentication
|
protected IPerson |
m_Person
|
| Constructor Summary | |
|---|---|
Authentication()
|
|
| Method Summary | |
|---|---|
void |
authenticate(HashMap principals,
HashMap credentials,
IPerson person)
Attempts to authenticate a given IPerson based on a set of principals and credentials |
IPerson |
getPerson()
Returns an IPerson object that can be used to hold site-specific attributes about the logged on user. |
ISecurityContext |
getSecurityContext()
Returns an ISecurityContext object that can be used later. |
protected String |
getUsername(IPerson person)
Return the username to be used for authorization (exit hook) |
protected void |
resetEntityIdentifier(IPerson person,
IPerson newPerson)
Reset the entity identifier in the final person object (exit hook) |
void |
setContextParameters(HashMap principals,
HashMap credentials,
String ctxName,
ISecurityContext securityContext,
IPerson person)
Get the principal and credential for a specific context and store them in the context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IPerson m_Person
protected ISecurityContext ic
public static MovingAverageSample lastAuthentication
| Constructor Detail |
|---|
public Authentication()
| Method Detail |
|---|
public void authenticate(HashMap principals,
HashMap credentials,
IPerson person)
throws PortalSecurityException
principals - credentials - person -
PortalSecurityExceptionprotected String getUsername(IPerson person)
person -
protected void resetEntityIdentifier(IPerson person,
IPerson newPerson)
person - newPerson - public IPerson getPerson()
org.jasig.portal.security.IPerson interface.public ISecurityContext getSecurityContext()
org.jasig.portal.security.ISecurityContext interface.
public void setContextParameters(HashMap principals,
HashMap credentials,
String ctxName,
ISecurityContext securityContext,
IPerson person)
principals - credentials - ctxName - securityContext - person -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||