|
SiteMinder Java SDK r12.0 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.netegrity.policyserver.smapi.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)
this method uses the PM API, therefore it requires a session to be established first |
int |
addSAMLIdentityProvider(java.util.HashMap IDPinfo)
This method adds a given SAML Identity Provider. |
int |
addSAMLServiceProvider(java.lang.String AffiliateDomain,
java.util.HashMap SPinfo)
This method adds a given 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 given SAML Affiliation. |
int |
getAffiliatedProviders(java.lang.String affiliation,
java.lang.String[] providers)
Gets an array of OIDs of providers that belong to a given SAML Affiliation. |
int |
getAffiliatedServiceProviders(java.lang.String affiliation,
java.lang.String[] providers)
Gets an array of OIDs of Service Providers that belong to a given SAML Affiliation. |
SAMLAffiliationInfo |
getAffiliationById(java.lang.String affiliationId,
java.lang.String[] namesToGet)
Gets SAMLAffiliationInfo class for the given affiliation ID. |
SAMLAffiliationInfo |
getAffiliationByOid(java.lang.String oid,
java.lang.String[] namesToGet)
Gets SAMLAffiliationInfo class for the given 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 given provider OID. |
SAMLIdentityProviderInfo |
getIdentityProviderBySourceId(java.lang.String sourceId,
java.lang.String[] namesToGet)
Gets SAMLIdentityProviderInfo class for the given provider source ID. |
SAMLAffiliateInfo |
getSAMLAffiliateByID(java.lang.String providerID,
java.lang.String[] namesToGet)
Gets SAMLAffiliateInfo class for the given SAML Affiliate object's consumer ID. |
SAMLAffiliateInfo |
getSAMLAffiliateByName(java.lang.String name,
java.lang.String[] namesToGet)
Gets SAMLAffiliateInfo class for the given SAML Affiliate object name. |
SAMLConsumerInfo |
getSAMLConsumerByID(java.lang.String providerId,
java.lang.String[] namesToGet)
Gets SAMLConsumerInfo class for the given producer ID. |
SAMLConsumerInfo |
getSAMLConsumerByOid(java.lang.String oid,
java.lang.String[] namesToGet)
Gets SAMLConsumerInfo class for the given consumer OID. |
SAMLConsumerInfo |
getSAMLConsumerBySrcID(java.lang.String srcID,
java.lang.String[] namesToGet)
Gets SAMLConsumerInfo class for the given 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)
This method calls the underlying C Policy API Sm_PolicyApi_Login for Policy API login using the SiteMinder administrator credentials |
boolean |
PolicyAPILogout()
This method 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 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
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 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 OID.providers - 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 OID.providers - 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 OID.providers - 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 OID.namesToGet - The names of the properties to get.
NativeCallbackError - if native callGetProviderByOid() fails.
public SAMLConsumerInfo getSAMLConsumerByID(java.lang.String providerId,
java.lang.String[] namesToGet)
throws NativeCallbackError
providerId - The Producer's ID.namesToGet - The names of the properties to get.
NativeCallbackError
public SAMLConsumerInfo getSAMLConsumerBySrcID(java.lang.String srcID,
java.lang.String[] namesToGet)
throws NativeCallbackError
srcID - The Producer's Source ID.namesToGet - The names of the properties to get.
NativeCallbackError
public SAMLAffiliateInfo getSAMLAffiliateByName(java.lang.String name,
java.lang.String[] namesToGet)
throws NativeCallbackError
name - SAML Affiliate object name.namesToGet - 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 object.namesToGet - The names of the properties to get.
NativeCallbackError - if native callGetAffiliateByID() fails.
|
Java SDK r12.0 SP2 Fri 11/06/2009 |
|||||||||
| PREV CLASS NEXT CLASS | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||