The GetAuthType method retrieves the type of credentials required for successful login to the resource or realm.
Syntax
The GetAuthType method has the following format:
Netegrity::AgentResource‑>GetAuthType()
Parameters
The GetAuthType method accepts no parameters.
Return Value
The GetAuthType method returns one of the following values:
Specifies that no credentials are required.
Note: This authorization type is used for anonymous realms.
Specifies that a username and password are required.
Specifies that the username and password must be exchanged using the digest protocol.
Specifies that a full X.509 client certificate is required.
Specifies that the user DN from an X.509 client certificate is required.
Specifies that the issuer DN from an X.509 client certificate is required.
Specifies that a certificate is required, if available.
Note: If a certificate is not available, a username and password are required.
Specifies that the username and password must be exchanged using the NT challenge/response protocol.
Specifies that either an X.509 certificate or a forms-based authentication scheme is required.
Specifies that an SSL connection is required.
Specifies that the user must be redirected to an HTML form.
Specifies that the credentials can be saved for 30 days
Note: When credentials are saved, users are not required to re-enter them each time they access a protected resource.
Specifies that the Session ID be preserved for as long as the current session is valid.
Specifies that the user not be challenged for credentials.
Specifies that the resource is not protected.
The IsProtected method checks whether SiteMinder is protecting the defined resource.
Syntax
The IsProtected method has the following format:
Netegrity::AgentResource‑>IsProtected()
Parameters
The IsProtected method accepts no parameters.
Return Value
The IsProtected method returns one of the following values:
Specifies that the resource is protected.
Specifies that the resource is not protected.
Specifies that the Policy Server could not be reached.
Specifies that the method timed out.
Specifies that initialization failed.
Copyright © 2014 CA.
All rights reserved.
|
|