org.idoox.security.spi
Interface ServerSecurityProvider

All Superinterfaces:
SecurityProvider

public interface ServerSecurityProvider
extends SecurityProvider

This interface must be implemented by the server security provider instances.

Since:
4.0
Component:
Security-Specific

Field Summary
 
Fields inherited from interface org.idoox.security.spi.SecurityProvider
SEC_PROVIDER_CONFIG, SEC_PROVIDER_PROPERTIES, WEBSERVICE_STUB, WEBSERVICE_STUB_INTERFACE, WSCONTEXT_KEY
 
Method Summary
 PrincipalAuthenticator getAuthenticator()
          Returns instance of the PrincipalAuthenticator interface for this security provider.
 java.lang.String[] getNames()
          Returns array of security provider names which are supported by this security provider implementation.
 java.util.Properties getProperties()
          Returns properties associated with this security provider.
 void resetContexts(java.util.Map parameters)
          This method should remove any established communication contexts from memory.
 void setCurrentAccepting(java.util.Map parameters)
          Performs tasks associated with making this security provider active for accepting incoming calls.
 void setCurrentInitiating(java.util.Map parameters)
          Performs tasks associated with making this security provider active for initiating new calls.
 void unsetCurrentAccepting(java.util.Map parameters)
          Performs tasks associated with dectivating the security provider for new incoming calls.
 void unsetCurrentInitiating(java.util.Map parameters)
          Performs tasks associated with dectivating the security provider for new outgoing calls.
 
Methods inherited from interface org.idoox.security.spi.SecurityProvider
getPropertiesIface
 

Method Detail

getAuthenticator

public PrincipalAuthenticator getAuthenticator()
Returns instance of the PrincipalAuthenticator interface for this security provider.

Returns:
instance of PrincipalAuthenticator interface

getNames

public java.lang.String[] getNames()
Returns array of security provider names which are supported by this security provider implementation.

Returns:
array of supported security provider names

getProperties

public java.util.Properties getProperties()
Returns properties associated with this security provider.

The properties contain some general characteristics of the security mechanism implemented by given provider, such as default quality of protection, description, etc.

Returns:
properties for this security provider

setCurrentInitiating

public void setCurrentInitiating(java.util.Map parameters)
Performs tasks associated with making this security provider active for initiating new calls.

Parameters:
parameters - map containing parameters for the security provider activation process. For example it can contain Web Service stub on which the activation of the mechanism has to be done.

setCurrentAccepting

public void setCurrentAccepting(java.util.Map parameters)
Performs tasks associated with making this security provider active for accepting incoming calls.

Parameters:
parameters - map containing parameters for the security provider activation process. For example it can contain Web Service stub on which the activation of the mechanism has to be done.

unsetCurrentInitiating

public void unsetCurrentInitiating(java.util.Map parameters)
Performs tasks associated with dectivating the security provider for new outgoing calls.

Parameters:
parameters - map containing parameters for the security provider deactivation process. For example it can contain Web Service stub on which the deactivation of the mechanism has to be done.

unsetCurrentAccepting

public void unsetCurrentAccepting(java.util.Map parameters)
Performs tasks associated with dectivating the security provider for new incoming calls.

Parameters:
parameters - map containing parameters for the security provider deactivation process. For example it can contain Web Service stub on which the deactivation of the mechanism has to be done.

resetContexts

public void resetContexts(java.util.Map parameters)
This method should remove any established communication contexts from memory.

This method is called from the Current implementation from the resetCredentials().

Parameters:
parameters - map containing parameters for the security provider to be used during the contexts reset.