public interface PRAuthentication
Modifier and Type | Field and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
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.
|
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
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
java.lang.String getEncryptedString(java.lang.String aClearText)
aClearText
- cleartext stringjava.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 applytrue
if successfulPRSecurityException
boolean setFailCount(PublicAPI aCaller, int aFailCount) throws PRSecurityException
aCaller
- "executable" element to verify caller may make this requestaFailCount
- - number of failed authentication attepmtstrue
if successfulPRSecurityException
boolean setUserAuthenticated(PublicAPI aCaller, boolean aAuthenticatonFlag) throws PRSecurityException
aCaller
- "executable" element to verify caller may make this requestaAuthenticatonFlag
- - sets/resets user authentication statustrue
if successfulPRSecurityException
boolean setUserSecurityProfile(PublicAPI aCaller, java.lang.String aUserID) throws PRSecurityException
aCaller
- "executable" element to verify caller may make this requestaUserID
- - user IDtrue
if successfulPRSecurityException
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 sessiontrue
if successfulPRSecurityException
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 existtrue
if successfulPRSecurityException
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 existtrue
if successfulPRSecurityException
void presentAuthentication()
void unauthenticate()
void forceTimeout()
void forceSchemeReload()
Copyright © 2015 Pegasystems Inc. All Rights Reserved.