The set of services available to view and manipulate a subject definition.
The set of services available to view and manipulate a subject definition.
| CORBA Definitions | |
| attribute Description | Descriptive text to help identify the subject. |
| attribute Enabled | Return the subject's enabled status. |
| attribute Identifier | The unique identifier of the subject. |
| attribute Name | Display name of the subject. |
| method Close | Release resources held by this component. |
| method Refresh | Refresh the subject information. |
| method ListGroups | Retrieve group information. |
| method AddPrincipal | Add a principal. |
| method GetPrincipal | Retrieve the principal identity and password associated with the given domain. |
| method RemovePrincipal | Remove a credential set. |
| method ListPrincipals | Retrieve principal information. |
| method UpdatePrincipalPassword | Update the password of a principal. |
| method GetMappedPrincipal | Retrieve principal associated with a principal map. |
| method ListPrincipalMaps | Retrieve principal map information. |
| Java Classes | |
| ISubjectAdminHelper | Used to manipulate the ISubjectAdmin type |
| ISubjectAdminHolder | Used to process the ISubjectAdmin type as an out parameter |
| Java Interfaces | |
| ISubjectAdmin | The set of services available to view and manipulate a subject definition. |
| Java Interface ISubjectAdmin |
The set of services available to view and manipulate a subject definition.
Package com.sas.iom.DFAuthServer
ISubjectAdmin Description
The set of services available to view and manipulate a subject definition.
public interface ISubjectAdmin
extends org.omg.CORBA.Object
Method Summary
| void | Close
()
Release resources held by this component. |
| void | Refresh
()
Refresh the subject information. |
| void | ListGroups
(
java.lang.String columns ,
java.lang.String filter ,
AnySeqHolder groups
)
throws ( GenericError ); Retrieve group information. |
| void | AddPrincipal
(
java.lang.String principal ,
java.lang.String domain ,
java.lang.String pw
)
throws ( GenericError ); Add a principal. |
| void | GetPrincipal
(
java.lang.String domain ,
org.omg.CORBA.StringHolder principal ,
org.omg.CORBA.StringHolder pw
)
throws ( GenericError ); Retrieve the principal identity and password associated with the given domain. |
| void | RemovePrincipal
(
java.lang.String domain
)
throws ( GenericError ); Remove a credential set. |
| void | ListPrincipals
(
java.lang.String columns ,
AnySeqHolder principals
)
throws ( GenericError ); Retrieve principal information. |
| void | UpdatePrincipalPassword
(
java.lang.String domain ,
java.lang.String password
)
throws ( GenericError ); Update the password of a principal. |
| void | GetMappedPrincipal
(
java.lang.String consumingSubject ,
java.lang.String domain ,
java.lang.String groupingKey ,
java.lang.String scopingGroup ,
org.omg.CORBA.StringHolder principal ,
org.omg.CORBA.StringHolder pw
)
throws ( GenericError ); Retrieve principal associated with a principal map. |
| void | ListPrincipalMaps
(
java.lang.String columns ,
java.lang.String filter ,
AnySeqHolder maps
)
throws ( GenericError ); Retrieve principal map information. |
| Java Class ISubjectAdminHelper |
public class ISubjectAdminHelper
Description
Implementing class for methods (insert, extract, type, id, read, write, narrow) used to manipulate the
ISubjectAdmin type.
java.lang.Object | +--com.sas.iom.SAS.ISubjectAdminHelper
| Java Class ISubjectAdminHolder |
public class ISubjectAdminHolder
Description
Implementing class for methods (_read, _write, _type) used to process the
ISubjectAdmin type as an out parameter.
java.lang.Object | +--com.sas.iom.SAS.ISubjectAdminHolder
| CORBA Attribute Description |
Descriptive text to help identify the subject.
Description
Descriptive text to help identify the subject.
The description may be updated by the owner of the subject and an Authentication Server administrator.
Usage
| Java Method Description |
public java.lang.String Description (); public void Description ( java.lang.String Description );
| CORBA Attribute Enabled |
Return the subject's enabled status.
Description
Return the subject's enabled status.
When the subject enabled status is FALSE, the subject will
not be resolved at login time. Therefore, returning a subject to enabled
status may only be performed by an Authentication Server administrator.
Usage
| Java Method Enabled |
public boolean Enabled (); public void Enabled ( boolean Enabled );
| CORBA Attribute Identifier (readonly) |
The unique identifier of the subject.
Description
Unique identifier of the subject.
Usage
| Java Method Identifier |
public java.lang.String Identifier ();
| CORBA Attribute Name |
Display name of the subject.
Description
Display name of the subject.
The display name should not be persisted as the key of the the subject since the subject name may change. The subject identifier should be used when persisting a reference to a subject.
The name may be updated by the owner of the subject and an Authentication Server administrator. The name shares a namespace with the group names and may not be empty.
Usage
| Java Method Name |
public java.lang.String Name (); public void Name ( java.lang.String Name );
| CORBA Method Close |
Release resources held by this component.
Description
Release resources held by this component.
Usage
| Java Method Close |
void Close (
)
Example
| CORBA Method Refresh |
Refresh the subject information.
Description
Refresh the subject information.
Usage
| Java Method Refresh |
void Refresh (
)
Example
| CORBA Method ListGroups |
Retrieve group information.
Description
Return the requested groups in which the associated subject is either a member or owner.
Usage
| Java Method ListGroups |
void ListGroups (
java.lang.String columns ,
java.lang.String filter ,
AnySeqHolder groups
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| columns | in | java.lang.String | The list of the group information the operation is to return. If the list is empty, all columns marked as "included by default", in the order listed, are returned. The set of available columns are:
|
| filter | in | java.lang.String | A set of name/value pairs, where the "name" portion cannot be localized, used to select the groups to include in the returned groups. The supported "name" filters are:
|
| groups | out | AnySeqHolder | The requested groups. |
Example
| CORBA Method AddPrincipal |
Add a principal.
Description
Add a tuple that may be used by the subject when authenticating to the specified domain.
If a tuple exists for the given domain, this call will fail.
Usage
| Java Method AddPrincipal |
void AddPrincipal (
java.lang.String principal ,
java.lang.String domain ,
java.lang.String pw
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| principal | in | java.lang.String | The identity of the subject when authenticated in the specified domain. The principal may not be empty. |
| domain | in | java.lang.String | The authentication domain of the principal and password. If the domain is empty, the Authentication Server PRIMARYPROVIDERDOMAIN option value will be used. |
| pw | in | java.lang.String | The credentials to use when authenticating the principal in the specified domain. |
Example
| CORBA Method GetPrincipal |
Retrieve the principal identity and password associated with the given domain.
Description
Retrieve the principal identity and password associated with the given domain.
Only the subject owner is permitted to retrieve the credentials.
Usage
| Java Method GetPrincipal |
void GetPrincipal (
java.lang.String domain ,
org.omg.CORBA.StringHolder principal ,
org.omg.CORBA.StringHolder pw
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| domain | in | java.lang.String | The authentication domain in which the credential set is requested. The domain may not be empty. |
| principal | out | org.omg.CORBA.StringHolder | The principal that identifies the subject in the specified authentication domain. If the domain is part of the login, the principal will be domain qualified. |
| pw | out | org.omg.CORBA.StringHolder | The credentials to use when authenticating the principal in the specified authentication domain. |
Example
| CORBA Method RemovePrincipal |
Remove a credential set.
Description
Remove a credential set.
Usage
| Java Method RemovePrincipal |
void RemovePrincipal (
java.lang.String domain
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| domain | in | java.lang.String | The authentication domain of the credential set to remove. The domain may not be empty. |
Example
| CORBA Method ListPrincipals |
Retrieve principal information.
Description
List the principals associated with a subject.
Usage
| Java Method ListPrincipals |
void ListPrincipals (
java.lang.String columns ,
AnySeqHolder principals
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| columns | in | java.lang.String | The list of the principal information the operation is to return. If the list is empty, all columns, in the order listed, are returned. The set of available columns are:
|
| principals | out | AnySeqHolder | The list of authentication tuples associated with the subject. The returned array will contain a one dimensional array for each of the selected columns, in their selected order. If no columns were specified, all columns are returned in the order listed above. |
Example
| CORBA Method UpdatePrincipalPassword |
Update the password of a principal.
Description
Used to update the password portion of the authentication tuple in the given domain.
Usage
Used to update the password portion of the authentication tuple in the given domain.
| Java Method UpdatePrincipalPassword |
void UpdatePrincipalPassword (
java.lang.String domain ,
java.lang.String password
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| domain | in | java.lang.String | The authentication domain of the credential set to update. The domain may not be empty. |
| password | in | java.lang.String | The new credentials to associate with the subject's principal in the given domain. |
Example
| CORBA Method GetMappedPrincipal |
Retrieve principal associated with a principal map.
Description
Retrieve principal associated with a principal map. The requesting subject must either be an owner of the principal map containing the desired principal. Or, the requesting subject must be a managing member of the principal map containing the desired principal.
Usage
| Java Method GetMappedPrincipal |
void GetMappedPrincipal (
java.lang.String consumingSubject ,
java.lang.String domain ,
java.lang.String groupingKey ,
java.lang.String scopingGroup ,
org.omg.CORBA.StringHolder principal ,
org.omg.CORBA.StringHolder pw
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| consumingSubject | in | java.lang.String | The identifier of the subject in which the retrieved principal will be used. The consumingSubject, which may not be empty, must be a consuming member of the principal map containing the desired principal. |
| domain | in | java.lang.String | The authentication domain in which the retrieved principal will be used. The domain may not be empty. |
| groupingKey | in | java.lang.String | The collection of principal maps that should be searched. The scoping group may be empty. |
| scopingGroup | in | java.lang.String | Group in which the consumingSubject must be a direct or indirect member of. The scoping group may be empty. |
| principal | out | org.omg.CORBA.StringHolder | The located principal identity. |
| pw | out | org.omg.CORBA.StringHolder | The located principal password. |
Example
| CORBA Method ListPrincipalMaps |
Retrieve principal map information.
Description
Return the requested columns from the selected principal maps in which the subject is either the owner, a manager or a consumer.
Usage
| Java Method ListPrincipalMaps |
void ListPrincipalMaps (
java.lang.String columns ,
java.lang.String filter ,
AnySeqHolder maps
)
throws (
GenericError
);
Parameter Details
| Parameter | Direction | Type | Description |
|---|---|---|---|
| columns | in | java.lang.String | The list of the principal map information the operation is to return. If the list is empty, all columns marked as "included by default", in the order listed, are returned. The set of available columns are:
|
| filter | in | java.lang.String | A set of name/value pairs, where the "name" portion cannot be localized, used to select the principal maps to include in the returned maps. If the filter is empty, all principal maps are returned. The supported "name" filters are:
|
| maps | out | AnySeqHolder | The requested principal maps. |
Example