|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PRAuthentication
The Authentication interface
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
DEFAULT_CHALLENGE
Custom authentication return status - use Auth Service challenge settings |
static java.lang.String |
DEFAULT_FAIL_STREAM
Custom authentication return status - use fail stream from Auth Service challenge settings |
static java.lang.String |
DEFAULT_REDIRECT_URL
Custom authentication return status - use redirect URL from Auth Service challenge settings |
static java.lang.String |
GENERATED_CHALLENGE_STREAM
Custom authentication return status - use challenge stream generated by authentication activity |
static java.lang.String |
GENERATED_REDIRECT_URL
Custom authentication return status - use redirect URL from Auth Service challenge settings |
static java.lang.String |
VERSION
|
| Method Summary | |
|---|---|
void |
forceSchemeReload()
Forces authentication scheme definitions to be reloaded. |
void |
forceTimeout()
If the active authentication scheme supports PegaRULES timeout, force authentication timeout immediately so that a challenge will be issued on the next interaction. |
java.lang.String |
getEncryptedString(java.lang.String aClearText)
Encrypts a string using PegaRULES v3 algorithm The entire string, converted to a byte array using UTF-8 encoding, is passed through the MD5 digest algorithm. |
java.lang.String |
getExternalSignature()
Return a random, time-based value |
boolean |
isAuthenticated()
Return true if (requestor) is authenticated (that is, not a "guest") and has not timed out or otherwise had authentication temporarily suspended. |
boolean |
performAuthentication(java.lang.String aUserIdentifier,
java.lang.String aPassword)
Perform the standard PegaRULES authentication on the supplied username and (cleartext) password pair. |
void |
presentAuthentication()
Invoke the custom welcome for the authentication scheme in use |
boolean |
setAccessGroup(PublicAPI aCaller,
java.lang.String aAccessGroupName)
Deprecated. |
boolean |
setFailCount(PublicAPI aCaller,
int aFailCount)
Deprecated. convert callers to AuthService |
boolean |
setUserAuthenticated(PublicAPI aCaller,
boolean aAuthenticatonFlag)
Deprecated. convert callers to AuthService |
boolean |
setUserSecurityProfile(PublicAPI aCaller,
java.lang.String aUserID)
Deprecated. convert callers to AuthService |
boolean |
setUserSecurityProfile(PublicAPI aCaller,
java.lang.String aUserID,
ClipboardPage aOperPage)
Deprecated. convert callers to AuthService |
boolean |
setUserSecurityProfile(PublicAPI aCaller,
java.lang.String aUserID,
ParameterPage aParamPage)
Deprecated. convert callers to AuthService |
boolean |
setUserSecurityProfile(PublicAPI aCaller,
java.lang.String aUserID,
java.lang.String aAssignedUserName)
Deprecated. convert callers to AuthService |
void |
unauthenticate()
Unauthenticate this requestor, turning it into a guest. |
| Field Detail |
|---|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
static final java.lang.String DEFAULT_CHALLENGE
static final java.lang.String GENERATED_CHALLENGE_STREAM
static final java.lang.String DEFAULT_FAIL_STREAM
static final java.lang.String DEFAULT_REDIRECT_URL
static final java.lang.String GENERATED_REDIRECT_URL
| Method Detail |
|---|
java.lang.String getEncryptedString(java.lang.String aClearText)
aClearText - cleartext string
java.lang.String getExternalSignature()
boolean isAuthenticated()
boolean performAuthentication(java.lang.String aUserIdentifier,
java.lang.String aPassword)
Depending upon administrative configuration, this may be done entirely within PegaRULES, or may invoke an external service.
aUserIdentifier - User ID:
aPassord password in clear textaPassword -
boolean setAccessGroup(PublicAPI aCaller,
java.lang.String aAccessGroupName)
throws PRSecurityException
aCaller - "executable" element to verify caller may make this requestaAccessGroupName - - name of the Access Group to apply
true if successful
PRSecurityException
boolean setFailCount(PublicAPI aCaller,
int aFailCount)
throws PRSecurityException
aCaller - "executable" element to verify caller may make this requestaFailCount - - number of failed authentication attepmts
true if successful
PRSecurityException
boolean setUserAuthenticated(PublicAPI aCaller,
boolean aAuthenticatonFlag)
throws PRSecurityException
aCaller - "executable" element to verify caller may make this requestaAuthenticatonFlag - - sets/resets user authentication status
true if successful
PRSecurityException
boolean setUserSecurityProfile(PublicAPI aCaller,
java.lang.String aUserID)
throws PRSecurityException
aCaller - "executable" element to verify caller may make this requestaUserID - - user ID
trueif successful
PRSecurityException
boolean setUserSecurityProfile(PublicAPI aCaller,
java.lang.String aUserID,
java.lang.String aAssignedUserName)
throws PRSecurityException
aCaller - "executable" element to verify caller may make this requestaUserID - - user IDaAssignedUserName - - User Name to assign to this session
true if successful
PRSecurityException
boolean setUserSecurityProfile(PublicAPI aCaller,
java.lang.String aUserID,
ParameterPage aParamPage)
throws PRSecurityException
aCaller - "executable" element to verify caller may make this requestaUserID - - user IDaParamPage - - parameter page with properties of
the Data-Admin-Operator-ID class to create the instance of this
class if it does not exist
true if successful
PRSecurityException
boolean setUserSecurityProfile(PublicAPI aCaller,
java.lang.String aUserID,
ClipboardPage aOperPage)
throws PRSecurityException
aCaller - "executable" element to verify caller may make this requestaUserID - - user IDaOperPage - - clipboard page with properties of page class
Data-Admin-Operator-ID that will be used to create the operator
if it does not exist
true if successful
PRSecurityExceptionvoid presentAuthentication()
void unauthenticate()
void forceTimeout()
void forceSchemeReload()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||