com.sas.services.information
Class Authorization

com.sas.services.information.Authorization
All Implemented Interfaces:
java.io.Serializable

public class Authorization
implements java.io.Serializable

This class is output from the OMIRepositoryInterface.getAuthorizationsOnObj method and input for OMIRepositoryInterface.setAuthorizationsOnObj. It has all the information about an authorization entry except the target object. It's assumed that you know what you asked for authorizations for, or are setting authorizations for.

See Also:
Serialized Form

Field Summary
static int AUTHSOURCE_ACT
           
static int AUTHSOURCE_EXPLICIT
           
static int AUTHSOURCE_INDIRECT
           
static java.lang.String AUTHTYPE_DENY
           
static java.lang.String AUTHTYPE_GRANT
           
static java.lang.String AUTHTYPE_REMOVE
           
 
Constructor Summary
Authorization(java.lang.String authType, java.lang.String conditions)
           
Authorization(java.lang.String identType, java.lang.String identName, java.lang.String authAction, int authSource, java.lang.String authType, java.lang.String conditions)
           
 
Method Summary
 java.lang.String getAuthAction()
           
 int getAuthSource()
           
 java.lang.String getAuthType()
           
 java.lang.String getConditions()
           
 java.lang.String getIdentName()
           
 java.lang.String getIdentType()
           
 boolean isAuthorized()
           
 void setAuthAction(java.lang.String authAction)
           
 void setAuthSource(int authSource)
           
 void setAuthType(java.lang.String authType)
           
 void setConditions(java.lang.String conditions)
           
 void setIdentName(java.lang.String identName)
           
 void setIdentType(java.lang.String identType)
           
 java.lang.String toString()
           
 

Field Detail

AUTHSOURCE_EXPLICIT

public static final int AUTHSOURCE_EXPLICIT
See Also:
Constant Field Values

AUTHSOURCE_ACT

public static final int AUTHSOURCE_ACT
See Also:
Constant Field Values

AUTHSOURCE_INDIRECT

public static final int AUTHSOURCE_INDIRECT
See Also:
Constant Field Values

AUTHTYPE_GRANT

public static final java.lang.String AUTHTYPE_GRANT
See Also:
Constant Field Values

AUTHTYPE_DENY

public static final java.lang.String AUTHTYPE_DENY
See Also:
Constant Field Values

AUTHTYPE_REMOVE

public static final java.lang.String AUTHTYPE_REMOVE
See Also:
Constant Field Values
Constructor Detail

Authorization

public Authorization(java.lang.String authType,
                     java.lang.String conditions)

Authorization

public Authorization(java.lang.String identType,
                     java.lang.String identName,
                     java.lang.String authAction,
                     int authSource,
                     java.lang.String authType,
                     java.lang.String conditions)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getConditions

public final java.lang.String getConditions()
Returns:
Returns the conditions.

setConditions

public final void setConditions(java.lang.String conditions)
Parameters:
conditions - The conditions to set.

isAuthorized

public final boolean isAuthorized()
Returns:
Returns the isAuthorized.

getAuthType

public final java.lang.String getAuthType()

setAuthType

public final void setAuthType(java.lang.String authType)

getAuthSource

public final int getAuthSource()

setAuthSource

public final void setAuthSource(int authSource)

getIdentName

public final java.lang.String getIdentName()

setIdentName

public final void setIdentName(java.lang.String identName)

getIdentType

public final java.lang.String getIdentType()

setIdentType

public final void setIdentType(java.lang.String identType)

getAuthAction

public final java.lang.String getAuthAction()

setAuthAction

public final void setAuthAction(java.lang.String authAction)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.