com.crystaldecisions.sdk.plugin.authentication.secwinnt
Interface IsecWinNTBase

All Known Subinterfaces:
IsecWinNT

public interface IsecWinNTBase

This interface provides methods that map Windows NT principals (users and groups) to SAP BusinessObjects Enterprise, and manage Windows NT authentication.


Method Summary
 int getAvailability()
           Returns the state of Windows NT authentication.
 java.lang.String getDefaultDomain()
           Returns the name of the default Windows NT domain used to authenticate users and map groups.
 java.lang.String getDefaultUserLicenseRestrictionCUID()
           Sets the default License Restriction for newly created users.
 java.lang.String getMappedGroups()
           Returns a semi-colon separated String of Windows NT UserGroupAlias object IDs (SIDs).
 boolean isAliasAutoAdd()
           Returns a boolean that indicates whether to add a secWindowsNT alias to an existing SAP BusinessObjects Enterprise user.
 boolean isCreateNamedUsers()
           Returns a boolean that indicates whether to create new users as named or concurrent.
 boolean isImportUsers()
           Returns a boolean that indicates whether user aliases will be imported when mapping Windows NT groups.
 boolean isSSOEnabled()
           Returns a boolean that indicates whether single sign-on authentication (SSO) is enabled.
 void setAliasAutoAdd(boolean value)
           Sets a boolean that indicates whether to add a secWindowsNT alias to an existing SAP BusinessObjects Enterprise user.
 void setAvailability(int value)
           Sets the state of Windows NT authentication.
 void setCreateNamedUsers(boolean value)
           Sets a boolean that indicates whether to create new users as named or concurrent.
 void setDefaultDomain(java.lang.String value)
           Sets the name of the default Windows NT domain used to authenticate users and map groups.
 void setDefaultUserLicenseRestrictionCUID(java.lang.String restrictionCuid)
           Sets the default License Restriction for newly created users.
 void setImportUsers(boolean value)
           Sets a boolean that indicates whether user aliases will be imported when mapping Windows NT groups.
 void setMappingGroups(java.lang.String value)
           Sets a semi-colon separated String of Windows NT UserGroupAlias object IDs (SIDs).
 void setSSOEnabled(boolean value)
           Sets a boolean that indicates whether single sign-on authentication (SSO) is enabled.
 

Method Detail

getAvailability

int getAvailability()
                    throws SDKException

Returns the state of Windows NT authentication.

This method can return one of three values -1, 0, or 1. The default value for this property is 0.

Returns:
An int that indicates NT authentication availability.
Throws:
SDKException - This is thrown if the process is unsuccessful.
InfoObject properties to query for:
SI_AVAIL

setAvailability

void setAvailability(int value)

Sets the state of Windows NT authentication.

This method can return one of three values -1, 0, or 1. The default value for this property is 0.

Parameters:
value - An int that specifies the NT authentication availability.

getDefaultDomain

java.lang.String getDefaultDomain()
                                  throws SDKException

Returns the name of the default Windows NT domain used to authenticate users and map groups.

In the absence of a network, the default domain must be set to the name of the machine.

Returns:
A String that indicates the default domain.
Throws:
SDKException - This is thrown if the process is unsuccessful.
InfoObject properties to query for:
SI_DEFAULT_DOMAIN

setDefaultDomain

void setDefaultDomain(java.lang.String value)

Sets the name of the default Windows NT domain used to authenticate users and map groups.

In the absence of a network, the default domain must be set to the name of the machine.

Parameters:
value - A String that specifies the default domain.

getMappedGroups

java.lang.String getMappedGroups()
                                 throws SDKException

Returns a semi-colon separated String of Windows NT UserGroupAlias object IDs (SIDs).

The SIDs of the local groups are in the format SID\\MachineName.

Returns:
A String that indicates the mapped group(s).
Throws:
SDKException - This is thrown if the process is unsuccessful.
InfoObject properties to query for:
SI_MAPPED_GROUPS

setMappingGroups

void setMappingGroups(java.lang.String value)

Sets a semi-colon separated String of Windows NT UserGroupAlias object IDs (SIDs).

The SIDs of the local groups are in the format SID\\MachineName.

Parameters:
value - A String that specifies the mapped group(s).

isAliasAutoAdd

boolean isAliasAutoAdd()
                       throws SDKException

Returns a boolean that indicates whether to add a secWindowsNT alias to an existing SAP BusinessObjects Enterprise user.

Returns:
true if a Windows NT alias is assigned to the existing SAP BusinessObjects Enterprise user account. However, the user accounts for SAP BusinessObjects Enterprise and Windows NT must be identified by the same name. false if a new user account will be created for all users in the NT group that are mapped to SAP BusinessObjects Enterprise.
Throws:
SDKException - This is thrown if the process is unsuccessful.
InfoObject properties to query for:
SI_ALIAS_AUTOADD

setAliasAutoAdd

void setAliasAutoAdd(boolean value)

Sets a boolean that indicates whether to add a secWindowsNT alias to an existing SAP BusinessObjects Enterprise user.

If the value is set to true, a Windows NT alias is assigned to the existing SAP BusinessObjects Enterprise user account. However, the user accounts for SAP BusinessObjects Enterprise and Windows NT must be identified by the same name. Note: If the mapped Windows NT user does not have an associated SAP BusinessObjects Enterprise account (with the same name) and this property is set to True, then a new SAP BusinessObjects Enterprise user account will be created for this user.

If the value is set to false, a new user account will be created for all users in the NT group that are mapped to SAP BusinessObjects Enterprise.

Parameters:
value - A boolean that specifies whether to add a secWindowsNT alias to an existing SAP BusinessObjects Enterprise user.

isImportUsers

boolean isImportUsers()
                      throws SDKException

Returns a boolean that indicates whether user aliases will be imported when mapping Windows NT groups.

Returns:
true if user aliases are imported when NT groups are mapped to SAP BusinessObjects Enterprise. false if user aliases are imported when users logon to SAP BusinessObjects Enterprise using NT authentication.
Throws:
SDKException - This is thrown if the process is unsuccessful.
InfoObject properties to query for:
SI_IMPORT_USERS

setImportUsers

void setImportUsers(boolean value)

Sets a boolean that indicates whether user aliases will be imported when mapping Windows NT groups.

Parameters:
value - A boolean that specifies whether user aliases will be imported.

isCreateNamedUsers

boolean isCreateNamedUsers()
                           throws SDKException

Returns a boolean that indicates whether to create new users as named or concurrent.

Returns:
true if new users are created as named, and false if new users are created as concurrent.
Throws:
SDKException - This is thrown if the process is unsuccessful.
InfoObject properties to query for:
SI_CREATE_NAMEDUSERS

setCreateNamedUsers

void setCreateNamedUsers(boolean value)

Sets a boolean that indicates whether to create new users as named or concurrent.

If the value is set to true new users are created as named. If the value is set to false new users are created as concurrent.

Parameters:
value - A boolean that specifies whether to create new users as named or concurrent.

isSSOEnabled

boolean isSSOEnabled()
                     throws SDKException

Returns a boolean that indicates whether single sign-on authentication (SSO) is enabled.

Returns:
true if SSO is enabled, and false otherwise.
Throws:
SDKException - This is thrown if the process is unsuccessful.
InfoObject properties to query for:
SI_SSO_ENABLED

setSSOEnabled

void setSSOEnabled(boolean value)

Sets a boolean that indicates whether single sign-on authentication (SSO) is enabled.

Set to true to enable SSO.

Parameters:
value - A boolean that indicates whether SSO is enabled.

getDefaultUserLicenseRestrictionCUID

java.lang.String getDefaultUserLicenseRestrictionCUID()

Sets the default License Restriction for newly created users.

Set to true to enable SSO.

Returns:
The CUID of the License Restriction this plugin is set to.
See Also:
CeSecurityCUID.LicenseRestriction}
InfoObject properties to query for:
SI_DEFAULT_THIRDPARTY_USER_LICENSE

setDefaultUserLicenseRestrictionCUID

void setDefaultUserLicenseRestrictionCUID(java.lang.String restrictionCuid)

Sets the default License Restriction for newly created users.

Parameters:
restrictionCuid - The CUID of the appropriate License Restriction.
See Also:
CeSecurityCUID.LicenseRestriction}