Author: coheigea Date: Wed Feb 27 14:33:57 2013 New Revision: 1450786 URL: http://svn.apache.org/r1450786 Log: Updating Basic Auth realm
Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/utils/RestServiceExceptionMapper.java Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/utils/RestServiceExceptionMapper.java URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/utils/RestServiceExceptionMapper.java?rev=1450786&r1=1450785&r2=1450786&view=diff ============================================================================== --- syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/utils/RestServiceExceptionMapper.java (original) +++ syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/utils/RestServiceExceptionMapper.java Wed Feb 27 14:33:57 2013 @@ -51,7 +51,7 @@ import org.springframework.security.acce @Provider public class RestServiceExceptionMapper implements ExceptionMapper<Exception>, ResponseExceptionMapper<Exception> { - private static final String BASIC_REALM_UNAUTHORIZED = "Basic realm=\"Spring Security Application\""; + private static final String BASIC_REALM_UNAUTHORIZED = "Basic realm=\"Apache Syncope authentication\""; private static final Logger LOG = LoggerFactory.getLogger(RestServiceExceptionMapper.class); @@ -213,4 +213,4 @@ public class RestServiceExceptionMapper private String getExMessage(final Throwable ex) { return (ex.getCause() == null) ? ex.getMessage() : ex.getCause().getMessage(); } -} \ No newline at end of file +}