protected GeoServerMultiplexingPasswordEncoder getEncoder(GeoServerUserGroupService ugService) throws IOException { return new GeoServerMultiplexingPasswordEncoder(getSecurityManager(), ugService); }
/** Accessor for plain text password encoder. */ protected GeoServerPlainTextPasswordEncoder getPlainTextPasswordEncoder() { return getSecurityManager().loadPasswordEncoder(GeoServerPlainTextPasswordEncoder.class); }
/** Accessor for the geoserver master password. */ protected String getMasterPassword() { return new String(getSecurityManager().getMasterPassword()); } }
/** Accessor for regular (weak encryption) pbe password encoder. */ protected GeoServerPBEPasswordEncoder getPBEPasswordEncoder() { return getSecurityManager() .loadPasswordEncoder(GeoServerPBEPasswordEncoder.class, null, false); }
/** Accessor for strong encryption pbe password encoder. */ protected GeoServerPBEPasswordEncoder getStrongPBEPasswordEncoder() { return getSecurityManager() .loadPasswordEncoder(GeoServerPBEPasswordEncoder.class, null, true); }
/** Accessor for digest password encoder. */ protected GeoServerDigestPasswordEncoder getDigestPasswordEncoder() { return getSecurityManager().loadPasswordEncoder(GeoServerDigestPasswordEncoder.class); }
/** Accessor for empty password encoder. */ protected GeoServerEmptyPasswordEncoder getEmptyEncoder() { return getSecurityManager().loadPasswordEncoder(GeoServerEmptyPasswordEncoder.class); }
protected boolean isNewUGService(String name) throws IOException { return !(getSecurityManager().listUserGroupServices().contains(name)); }
protected boolean isNewRoleService(String name) throws IOException { return !(getSecurityManager().listRoleServices().contains(name)); }