public class HibernateSecurityDao extends org.springframework.orm.hibernate5.support.HibernateDaoSupport implements SecurityDao
| Constructor and Description |
|---|
HibernateSecurityDao() |
public void saveOrUpdateRole(Role role)
saveOrUpdateRole in interface SecurityDaopublic void saveOrUpdatePolicy(Policy policy)
saveOrUpdatePolicy in interface SecurityDaopublic void saveOrUpdatePrincipal(IkasanPrincipal principal)
saveOrUpdatePrincipal in interface SecurityDaopublic IkasanPrincipal getPrincipalByName(java.lang.String name)
getPrincipalByName in interface SecurityDaopublic java.util.List<Policy> getAllPolicies()
getAllPolicies in interface SecurityDaopublic java.util.List<Role> getAllRoles()
getAllRoles in interface SecurityDaopublic java.util.List<IkasanPrincipal> getAllPrincipals()
getAllPrincipals in interface SecurityDaopublic java.util.List<IkasanPrincipalLite> getAllPrincipalLites()
getAllPrincipalLites in interface SecurityDaopublic Policy getPolicyByName(java.lang.String name)
getPolicyByName in interface SecurityDaopublic Role getRoleByName(java.lang.String name)
getRoleByName in interface SecurityDaopublic Role getRoleById(java.lang.Long id)
getRoleById in interface SecurityDaopublic Policy getPolicyById(java.lang.Long id)
getPolicyById in interface SecurityDaopublic void deleteRole(Role role)
deleteRole in interface SecurityDaopublic void deletePolicy(Policy policy)
deletePolicy in interface SecurityDaopublic void deletePrincipal(IkasanPrincipal principal)
deletePrincipal in interface SecurityDaopublic void saveOrUpdateAuthenticationMethod(AuthenticationMethod authenticationMethod)
saveOrUpdateAuthenticationMethod in interface SecurityDaopublic AuthenticationMethod getAuthenticationMethod(java.lang.Long id)
getAuthenticationMethod in interface SecurityDaopublic java.util.List<AuthenticationMethod> getAuthenticationMethods()
getAuthenticationMethods in interface SecurityDaopublic java.util.List<IkasanPrincipal> getAllPrincipalsWithRole(java.lang.String roleName)
getAllPrincipalsWithRole in interface SecurityDaopublic java.util.List<IkasanPrincipal> getPrincipalsByRoleNames(java.util.List<java.lang.String> names)
getPrincipalsByRoleNames in interface SecurityDaopublic java.util.List<IkasanPrincipal> getPrincipalByNameLike(java.lang.String name)
getPrincipalByNameLike in interface SecurityDaopublic java.util.List<PolicyLinkType> getAllPolicyLinkTypes()
getAllPolicyLinkTypes in interface SecurityDaopublic java.util.List<Policy> getPolicyByNameLike(java.lang.String name)
getPolicyByNameLike in interface SecurityDaopublic java.util.List<Role> getRoleByNameLike(java.lang.String name)
getRoleByNameLike in interface SecurityDaopublic void saveOrUpdatePolicyLink(PolicyLink policyLink)
saveOrUpdatePolicyLink in interface SecurityDaopublic void saveOrUpdatePolicyLinkType(PolicyLinkType policyLinkType)
saveOrUpdatePolicyLinkType in interface SecurityDaopublic void deletePolicyLink(PolicyLink policyLink)
deletePolicyLink in interface SecurityDaopublic java.util.List<Policy> getAllPoliciesWithRole(java.lang.String roleName)
getAllPoliciesWithRole in interface SecurityDaopublic void deleteAuthenticationMethod(AuthenticationMethod authenticationMethod)
deleteAuthenticationMethod in interface SecurityDaopublic long getNumberOfAuthenticationMethods()
getNumberOfAuthenticationMethods in interface SecurityDaopublic AuthenticationMethod getAuthenticationMethodByOrder(long order)
getAuthenticationMethodByOrder in interface SecurityDaopublic java.util.List<User> getUsersAssociatedWithPrincipal(long principalId)
getUsersAssociatedWithPrincipal in interface SecurityDaoCopyright © 2007-2019 Ikasan. All Rights Reserved.