|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.policyserver.smapi.SAMLConfig
public class SAMLConfig
The SAMLConfig class facilitates getting Service Provider and Identity Provider properties through Policy Server native implementation.
| Constructor Summary | |
|---|---|
SAMLConfig()
|
|
| Method Summary | |
|---|---|
int |
addAssertionConsumerServicetoSP(java.lang.String SAMLSPOid,
java.lang.String[] SAMLSPAssertionConSvcs)
Adds an Assertion Consumer Service to the SP. |
int |
addSAMLIdentityProvider(java.util.HashMap IDPinfo)
Adds a given SAML Identity Provider. |
int |
addSAMLServiceProvider(java.lang.String AffiliateDomain,
java.util.HashMap SPinfo)
Adds a specified SAML Service Provider. |
int |
getAffiliatedIdentityProviders(java.lang.String affiliation,
java.lang.String[] providers)
Gets an array of OIDs of Identity Providers that belong to a specified SAML Affiliation. |
int |
getAffiliatedProviders(java.lang.String affiliation,
java.lang.String[] providers)
Gets an array of OIDs of providers that belong to a specified SAML Affiliation. |
int |
getAffiliatedServiceProviders(java.lang.String affiliation,
java.lang.String[] providers)
Gets an array of OIDs of Service Providers that belong to a specified SAML Affiliation. |
SAMLAffiliationInfo |
getAffiliationById(java.lang.String affiliationId,
java.lang.String[] namesToGet)
Gets SAMLAffiliationInfo class for the specified affiliation ID. |
SAMLAffiliationInfo |
getAffiliationByOid(java.lang.String oid,
java.lang.String[] namesToGet)
Gets SAMLAffiliationInfo class for the specified affiliation OID. |
SAMLIdentityProviderInfo |
getIdentityProviderById(java.lang.String providerId,
java.lang.String[] namesToGet)
Gets SAMLIdentityProviderInfo class for the given provider ID. |
SAMLIdentityProviderInfo |
getIdentityProviderByName(java.lang.String providerName)
Gets Identity Provider configuration for a given Identity Provider. |
SAMLIdentityProviderInfo |
getIdentityProviderByOid(java.lang.String oid,
java.lang.String[] namesToGet)
Gets SAMLIdentityProviderInfo class for the specified provider OID. |
SAMLIdentityProviderInfo |
getIdentityProviderBySourceId(java.lang.String sourceId,
java.lang.String[] namesToGet)
Gets SAMLIdentityProviderInfo class for the specified provider source ID. |
java.util.HashMap |
getProviderPasswordsByID(java.lang.String providerID,
ProviderType providerType)
Gets all passwords associated with the indicated provider. |
java.util.HashMap |
getProviderPasswordsByOid(java.lang.String oid)
Gets passwords for the specified provider OID. |
SAMLAffiliateInfo |
getSAMLAffiliateByID(java.lang.String providerID,
java.lang.String[] namesToGet)
Gets SAMLAffiliateInfo class for the specified SAML Affiliate object's consumer ID. |
SAMLAffiliateInfo |
getSAMLAffiliateByName(java.lang.String name,
java.lang.String[] namesToGet)
Gets SAMLAffiliateInfo class for the specified SAML Affiliate object name. |
SAMLAffiliateInfo |
getSAMLAffiliateByProducerSourceID(java.lang.String sourceID,
java.lang.String[] namesToGet)
Gets SAMLAffiliateInfo class for the given SAML Affiliate object's consumer ID. |
java.util.HashMap |
getSamlAffiliatePasswordsByName(java.lang.String name)
Gets all passwords associated with the indicated affiliate. |
SAMLConsumerInfo |
getSAMLConsumerByID(java.lang.String providerId,
java.lang.String[] namesToGet)
Gets SAMLConsumerInfo class for the specified producer ID. |
SAMLConsumerInfo |
getSAMLConsumerByIssuer(java.lang.String issuer,
java.lang.String[] namesToGet)
Gets SAMLConsumerInfo class for the given Issuer. |
SAMLConsumerInfo |
getSAMLConsumerByOid(java.lang.String oid,
java.lang.String[] namesToGet)
Gets SAMLConsumerInfo class for the specified consumer OID. |
SAMLConsumerInfo |
getSAMLConsumerByParamSearchString(java.lang.String searchStr,
java.lang.String[] namesToGet,
int nSchemeType)
Gets SAMLConsumerInfo class for the given Search String. |
SAMLConsumerInfo |
getSAMLConsumerBySrcID(java.lang.String srcID,
java.lang.String[] namesToGet)
Gets SAMLConsumerInfo class for the specified Source ID. |
java.util.HashMap |
getSAMLConsumerPasswordsByID(java.lang.String providerId)
Gets SAML Consumer passwords for the specified producer ID. |
java.util.HashMap |
getSAMLConsumerPasswordsByIssuer(java.lang.String issuer)
Gets SAML Consumer passwords, for the given Issuer. |
java.util.HashMap |
getSAMLConsumerPasswordsBySrcID(java.lang.String srcID)
Gets SAML Consumer passwords, for the specified Source ID. |
SAMLServiceProviderInfo |
getServiceProviderById(java.lang.String providerId,
java.lang.String[] namesToGet)
Gets SAMLServiceProviderInfo class for the given provider ID. |
SAMLServiceProviderInfo |
getServiceProviderByName(java.lang.String providerName)
Gets SAMLServiceProviderInfo class for the given provider name. |
SAMLServiceProviderInfo |
getServiceProviderByOid(java.lang.String oid,
java.lang.String[] namesToGet)
Gets SAMLServiceProviderInfo class for the given provider OID. |
int |
PolicyAPILogin(java.lang.String UserName,
java.lang.String Password)
Calls the underlying C Policy API Sm_PolicyApi_Login for Policy API login using the SiteMinder administrator credentials. |
boolean |
PolicyAPILogout()
Calls the underlying C Policy API Sm_PolicyApi_Logout for log out of an administrator session. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SAMLConfig()
| Method Detail |
|---|
public int PolicyAPILogin(java.lang.String UserName,
java.lang.String Password)
throws NativeCallbackError
UserName - The SiteMinder administrator namePassword - The SiteMinder administrator password
NativeCallbackError - in case an error was encountered during
login
public boolean PolicyAPILogout()
throws NativeCallbackError
true in case the logout is
successful
false otherwise
NativeCallbackError - in case an error was encountered during
logout
public SAMLServiceProviderInfo getServiceProviderById(java.lang.String providerId,
java.lang.String[] namesToGet)
throws NativeCallbackError
providerId - The service provider ID.namesToGet - The names of the properties to get.
NativeCallbackError
public SAMLServiceProviderInfo getServiceProviderByName(java.lang.String providerName)
throws NativeCallbackError
providerName - The SiteMinder name of the service provider.
NativeCallbackError
public SAMLServiceProviderInfo getServiceProviderByOid(java.lang.String oid,
java.lang.String[] namesToGet)
throws NativeCallbackError
oid - The identity provider OID.namesToGet - The names of the properties to get.
NativeCallbackError
public java.util.HashMap getProviderPasswordsByID(java.lang.String providerID,
ProviderType providerType)
throws NativeCallbackError
providerID - The ID of the Provider.providerType - The type of the Provider
NativeCallbackError
public java.util.HashMap getSamlAffiliatePasswordsByName(java.lang.String name)
throws NativeCallbackError
name - The name of the affiliate.
NativeCallbackError
public int addSAMLServiceProvider(java.lang.String AffiliateDomain,
java.util.HashMap SPinfo)
throws NativeCallbackError
AffiliateDomain - The name of the Affiliate DomainSPinfo - The configuration of the Service Provider
NativeCallbackError
public SAMLIdentityProviderInfo getIdentityProviderById(java.lang.String providerId,
java.lang.String[] namesToGet)
throws NativeCallbackError
providerId - The identity provider ID.namesToGet - The names of the properties to get.
NativeCallbackError
public SAMLIdentityProviderInfo getIdentityProviderByName(java.lang.String providerName)
throws NativeCallbackError
providerName - The name of the Identity Provider.
NativeCallbackError
public int addSAMLIdentityProvider(java.util.HashMap IDPinfo)
throws NativeCallbackError
SPinfo - The configuration of the Identity Provider
NativeCallbackError
public int addAssertionConsumerServicetoSP(java.lang.String SAMLSPOid,
java.lang.String[] SAMLSPAssertionConSvcs)
throws NativeCallbackError
SAMLSPOid - SAMLSPAssertionConSvcs -
NativeCallbackError
public SAMLIdentityProviderInfo getIdentityProviderBySourceId(java.lang.String sourceId,
java.lang.String[] namesToGet)
throws NativeCallbackError
sourceId - The identity provider source ID.namesToGet - The names of the properties to get.
NativeCallbackError
public SAMLIdentityProviderInfo getIdentityProviderByOid(java.lang.String oid,
java.lang.String[] namesToGet)
throws NativeCallbackError
oid - The provider OID.namesToGet - The names of the properties to get.
NativeCallbackError
public java.util.HashMap getProviderPasswordsByOid(java.lang.String oid)
throws NativeCallbackError
oid - The provider OID.
NativeCallbackError
public SAMLAffiliationInfo getAffiliationById(java.lang.String affiliationId,
java.lang.String[] namesToGet)
throws NativeCallbackError
affiliationId - The affiliation ID.namesToGet - The names of the properties to get.
NativeCallbackError
public SAMLAffiliationInfo getAffiliationByOid(java.lang.String oid,
java.lang.String[] namesToGet)
throws NativeCallbackError
oid - The affiliation OID.namesToGet - The names of the properties to get.
NativeCallbackError
public int getAffiliatedServiceProviders(java.lang.String affiliation,
java.lang.String[] providers)
affiliation - The affiliation OIDproviders - The OIDs of the Service Providers
(a partial list, if there are more than the size of the allocated array).
public int getAffiliatedIdentityProviders(java.lang.String affiliation,
java.lang.String[] providers)
affiliation - The affiliation OIDproviders - The OIDs of the Identity Providers
(a partial list, if there are more than the size of the allocated array).
public int getAffiliatedProviders(java.lang.String affiliation,
java.lang.String[] providers)
affiliation - The affiliation OIDproviders - The OIDs of the providers
(a partial list, if there are more than the size of the allocated array).
public SAMLConsumerInfo getSAMLConsumerByOid(java.lang.String oid,
java.lang.String[] namesToGet)
throws NativeCallbackError
oid - The identity provider OIDnamesToGet - The names of the properties to get.
NativeCallbackError, - if native callGetProviderByOid() fails.
NativeCallbackError
public SAMLConsumerInfo getSAMLConsumerByID(java.lang.String providerId,
java.lang.String[] namesToGet)
throws NativeCallbackError
providerId - The Producer's IDnamesToGet - The names of the properties to get.
NativeCallbackError
public java.util.HashMap getSAMLConsumerPasswordsByID(java.lang.String providerId)
throws NativeCallbackError
providerId - The Producer's ID
NativeCallbackError
public SAMLConsumerInfo getSAMLConsumerBySrcID(java.lang.String srcID,
java.lang.String[] namesToGet)
throws NativeCallbackError
srcID - The Producer's Source IDnamesToGet - The names of the properties to get
NativeCallbackError
public java.util.HashMap getSAMLConsumerPasswordsBySrcID(java.lang.String srcID)
throws NativeCallbackError
srcID - The Producer's Source ID
NativeCallbackError
public SAMLConsumerInfo getSAMLConsumerByIssuer(java.lang.String issuer,
java.lang.String[] namesToGet)
throws NativeCallbackError
issuer - The Producer's Issuer.namesToGet - The names of the properties to get.
NativeCallbackError
public java.util.HashMap getSAMLConsumerPasswordsByIssuer(java.lang.String issuer)
throws NativeCallbackError
issuer - The Producer's Issuer.
NativeCallbackError
public SAMLConsumerInfo getSAMLConsumerByParamSearchString(java.lang.String searchStr,
java.lang.String[] namesToGet,
int nSchemeType)
throws NativeCallbackError
searchStr - String to be searched in the Auth Scheme Param.namesToGet - The names of the properties to get.nSchemeType - The CONST to identify the type of auth schemes to search for.
NativeCallbackError
public SAMLAffiliateInfo getSAMLAffiliateByName(java.lang.String name,
java.lang.String[] namesToGet)
throws NativeCallbackError
name - SAML Affiliate object namenamesToGet - The names of the properties to get
NativeCallbackError - if native callGetAffiliateByName() fails.
public SAMLAffiliateInfo getSAMLAffiliateByID(java.lang.String providerID,
java.lang.String[] namesToGet)
throws NativeCallbackError
providerID - Consumer ID of SAML Affiliate objectnamesToGet - The names of the properties to get
NativeCallbackError - if native callGetAffiliateByID() fails.
public SAMLAffiliateInfo getSAMLAffiliateByProducerSourceID(java.lang.String sourceID,
java.lang.String[] namesToGet)
throws NativeCallbackError
sourceID - Source ID of SAML Affiliate object.namesToGet - The names of the properties to get.
NativeCallbackError - if native callGetAffiliateByID() fails.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||