org.systinet.wasp.admin
Interface ServiceSecurity


Deprecated. See ServiceSecurity.

public interface ServiceSecurity

Service security related administration/management methods.

Since:
4.0
Component:
Mgmt-Services-Backward-Compatible

Method Summary
 void addAcceptingSecurityProvider(ServiceEndpoint serviceEndpoint, java.lang.String providerName)
          Deprecated. Add a name of the security providers which have to be activated for this service implementation for incoming requests.
 void addAcceptingSecurityProviders(ServiceEndpoint serviceEndpoint, java.lang.String[] providerNames)
          Deprecated. Adds array of names of the security providers which have to be activated for this service implementation for incoming requests.
 void addIdentityAssociation(ServiceEndpoint serviceEndpoint, IdentityAssociationImpl identityAssociation)
          Deprecated. Adds identity association for particular service endpoint.
 java.lang.String[] getAcceptingSecurityProviders(ServiceEndpoint serviceEndpoint)
          Deprecated. Returns array of names of the security providers which have to be activated for this service implementation for incoming requests.
 IdentityAssociationImpl[] getIdentityAssociations(ServiceEndpoint serviceEndpoint)
          Deprecated. Gets identity associations for particular service endpoint.
 java.lang.String getInitiatingSecurityProvider(ServiceEndpoint serviceEndpoint)
          Deprecated. Returns name of the security provider to be used for outgoing calls from given web service endpoint.
 boolean isAuthorizationRequired(ServiceEndpoint serviceEndpoint)
          Deprecated. Tests wheter authorization is required for particular service endpoint.
 void removeIdentityAssociation(ServiceEndpoint serviceEndpoint, IdentityAssociationImpl identityAssociation)
          Deprecated. Removes identity association for particular service endpoint.
 void setAcceptingSecurityProviders(ServiceEndpoint serviceEndpoint, java.lang.String[] providerNames)
          Deprecated. Sets array of names of the security providers which have to be activated for this service implementation for incoming requests.
 void setAuthorizationRequired(ServiceEndpoint serviceEndpoint, boolean authorizationRequired)
          Deprecated. Sets the authorizationRequired flag for particular service endpoint.
 void setInitiatingSecurityProvider(ServiceEndpoint serviceEndpoint, java.lang.String providerName)
          Deprecated. Sets the security provider to be used for outgoing calls from given web service endpoint.
 

Method Detail

setAuthorizationRequired

public void setAuthorizationRequired(ServiceEndpoint serviceEndpoint,
                                     boolean authorizationRequired)
                              throws AdminServiceException
Deprecated. 
Sets the authorizationRequired flag for particular service endpoint.
Secure mode: you must have WSSecurityMechsPermission/set permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - service endpoint for which to set
authorizationRequired - true if authorization is required, false otherwise
Throws:
AdminServiceException - cannot set the value

isAuthorizationRequired

public boolean isAuthorizationRequired(ServiceEndpoint serviceEndpoint)
                                throws AdminServiceException
Deprecated. 
Tests wheter authorization is required for particular service endpoint.
Secure mode: you must have WSSecurityMechsPermission/get permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - service endpoint for which to test
Returns:
authorizationRequired true if authorization is required, false otherwise
Throws:
AdminServiceException - cannot set the value

getIdentityAssociations

public IdentityAssociationImpl[] getIdentityAssociations(ServiceEndpoint serviceEndpoint)
                                                  throws AdminServiceException
Deprecated. 
Gets identity associations for particular service endpoint.
Secure mode: you must have WSSecurityMechsPermission/get permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - service endpoint
Returns:
identity associations array (can be null)
Throws:
AdminServiceException - cannot get identity associations

addIdentityAssociation

public void addIdentityAssociation(ServiceEndpoint serviceEndpoint,
                                   IdentityAssociationImpl identityAssociation)
                            throws AdminServiceException
Deprecated. 
Adds identity association for particular service endpoint.
Secure mode: you must have WSSecurityMechsPermission/set permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - service endpoint
identityAssociation - identity association to add
Throws:
AdminServiceException - cannot get identity associations

removeIdentityAssociation

public void removeIdentityAssociation(ServiceEndpoint serviceEndpoint,
                                      IdentityAssociationImpl identityAssociation)
                               throws AdminServiceException
Deprecated. 
Removes identity association for particular service endpoint.
Secure mode: you must have WSSecurityMechsPermission/set permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - service endpoint
identityAssociation - identity association to add
Throws:
AdminServiceException - cannot get identity associations

getInitiatingSecurityProvider

public java.lang.String getInitiatingSecurityProvider(ServiceEndpoint serviceEndpoint)
                                               throws AdminServiceException
Deprecated. 
Returns name of the security provider to be used for outgoing calls from given web service endpoint.
Secure mode: you must have WSSecurityMechsPermission/get permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - target service endpoint.
Returns:
name of the security provider for outgoing calls.
Throws:
AdminServiceException

setInitiatingSecurityProvider

public void setInitiatingSecurityProvider(ServiceEndpoint serviceEndpoint,
                                          java.lang.String providerName)
                                   throws AdminServiceException
Deprecated. 
Sets the security provider to be used for outgoing calls from given web service endpoint.
Secure mode: you must have WSSecurityMechsPermission/set permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - target service endpoint.
providerName - name of the security provider for outgoing calls. Note that provider name can be null.
Throws:
AdminServiceException

getAcceptingSecurityProviders

public java.lang.String[] getAcceptingSecurityProviders(ServiceEndpoint serviceEndpoint)
                                                 throws AdminServiceException
Deprecated. 
Returns array of names of the security providers which have to be activated for this service implementation for incoming requests.
Secure mode: you must have WSSecurityMechsPermission/get permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - target service endpoint.
Returns:
array of security provider names for incoming requests.
Throws:
AdminServiceException

setAcceptingSecurityProviders

public void setAcceptingSecurityProviders(ServiceEndpoint serviceEndpoint,
                                          java.lang.String[] providerNames)
                                   throws AdminServiceException
Deprecated. 
Sets array of names of the security providers which have to be activated for this service implementation for incoming requests.
Secure mode: you must have WSSecurityMechsPermission/set permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - target service endpoint.
providerNames - array of security provider names for incoming requests.
Throws:
AdminServiceException

addAcceptingSecurityProvider

public void addAcceptingSecurityProvider(ServiceEndpoint serviceEndpoint,
                                         java.lang.String providerName)
                                  throws AdminServiceException
Deprecated. 
Add a name of the security providers which have to be activated for this service implementation for incoming requests.
Secure mode: you must have WSSecurityMechsPermission/set permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - target service endpoint.
providerName - security provider name for incoming requests.
Throws:
AdminServiceException

addAcceptingSecurityProviders

public void addAcceptingSecurityProviders(ServiceEndpoint serviceEndpoint,
                                          java.lang.String[] providerNames)
                                   throws AdminServiceException
Deprecated. 
Adds array of names of the security providers which have to be activated for this service implementation for incoming requests.
Secure mode: you must have WSSecurityMechsPermission/set permission for target service endpoint to perform this operation.

Parameters:
serviceEndpoint - target service endpoint.
providerNames - array of security provider names for incoming requests.
Throws:
AdminServiceException