com.im.df.api 5.9

com.im.df.api.capabilities
Interface IJCUserLoginServiceAdmin

All Superinterfaces:
DFCapability, IJCUserLoginService, SchemaServiceCapability

public interface IJCUserLoginServiceAdmin
extends IJCUserLoginService

This capability can be obtained from DFSchema if user has sufficient access rights (probably must be admin).


Method Summary
 void deleteSecurityConfig(DFEnvironmentRW env)
          Remove the security configuration and reset to the default
 DFLockable getLockable()
          Get special lockable for this capability.
 DFServiceConfiguration getSecurityConfig()
          Get the security configuration.
 DFServiceConfiguration[] getSecurityConfigTemplates()
          Get the available templates for security configuration
 void logoutUser(String username)
          Logout the specified user (means kill his connection).
 void updateSecurityConfig(DFServiceConfiguration config, DFEnvironmentRW env)
          Update the security configuration.
 
Methods inherited from interface com.im.df.api.capabilities.IJCUserLoginService
getAllLogins, getLogin, getMyRoles, whoAmI
 

Method Detail

getLockable

DFLockable getLockable()
Get special lockable for this capability. It must be used when calling user security config methods from this interface


logoutUser

@Secured(value="ROLE_ADMIN")
@Transactional(readOnly=false)
void logoutUser(String username)
Logout the specified user (means kill his connection).

Parameters:
username -

getSecurityConfig

@Secured(value="ROLE_ADMIN")
@Transactional(readOnly=true)
DFServiceConfiguration getSecurityConfig()
Get the security configuration. This can be edited to change the way users login and other aspects of security.


deleteSecurityConfig

@Secured(value="ROLE_ADMIN")
@Transactional
void deleteSecurityConfig(DFEnvironmentRW env)
Remove the security configuration and reset to the default


updateSecurityConfig

@Secured(value="ROLE_ADMIN")
@Transactional
void updateSecurityConfig(DFServiceConfiguration config,
                                                     DFEnvironmentRW env)
Update the security configuration.


getSecurityConfigTemplates

DFServiceConfiguration[] getSecurityConfigTemplates()
Get the available templates for security configuration


com.im.df.api 5.9